package org.absolutezero.client;

import javax.inject.Inject;
import javax.inject.Singleton;

import org.absolutezero.client.events.RenderWelcomeEvent;

import com.google.gwt.event.shared.EventBus;


@Singleton
public class RefrigeratorApp {

	private final RefrigeratorController controller;
	private final EventBus ebus;
	
	@Inject
	public RefrigeratorApp(RefrigeratorController controller,
					EventBus ebus){
		
		this.controller = controller;
		this.ebus = ebus;
	}
	
	public void run(){
		
		ebus.fireEvent(new RenderWelcomeEvent());
	}
	
}
